package model;

public class Ticket
{
	private int id;
	private Seat seat;
	private ShowTime showTime;
	private Sale sale;
	
	public Ticket(int id, Seat seat, ShowTime showTime, Sale sale)
	{
		this.id = id;
		this.seat = seat;
		this.showTime = showTime;
		this.sale = sale;
	}

	public int getId() 
	{
		return id;
	}

	public void setId(int id) 
	{
		this.id = id;
	}

	public ShowTime getShowTime() 
	{
		return showTime;
	}

	public void setShowTime(ShowTime showTime) 
	{
		this.showTime = showTime;
	}

	public Seat getSeat() 
	{
		return seat;
	}

	public void setSeat(Seat seat) 
	{
		this.seat = seat;
	}
	
	public Sale getSale()
	{
		return sale;
	}
}
